package com.lkd.service.impl;

import com.lkd.entity.Role;
import com.lkd.mapper.RoleMapper;
import com.lkd.service.RoleService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class RoleServiceImpl implements RoleService {
    private final RoleMapper roleMapper;
    @Override
    public List<Role> list() {
        return roleMapper.list();
    }
}
